Document 1408 COMSPEC MAPPING ON NOVELL NETWORK EM Description: LOGIN SCRIPT FOR SYSTEM WITH BOTH COMPAQ DOS 3.31 AND DR DOS 6.0 If you are having problems with setting your Comspec command in your login script for DR DOS 6.0, here is an explanation and a solution. Explanation: Many applications query DOS as to what version it is - DR DOS returns a value of MS DOS V3.31. This "imitation of DOS" allows DR DOS to run applications that might otherwise reject a DOS value of greater than 5.0. This value is also important in that this can be used by some applications to indicate what type of disk structure they are likely to encounter. This is especially important for 3rd party disk utilities. A problem can arise when the login script on the server is trying to set your Comspec based on the NetWare login script variables %OS and %OS_VERSION. A typical use of this is: Map Ins S2:=Servername/SYS:PUBLIC/%OS/%OS_VERSION Both Compaq DOS 3.31 and DR DOS 3.31 will end up mapped to the same sub-directory, as they are both reporting to NetWare ( via the %os_version variable ) a DOS version of 3.31. Solution: This sample login script explains and implements a solution: REM THE FOLLOWING ESTABLISHES ENVIRONMENTAL VARIABLES REM "OS" AND "VER." IF <> "DRDOS" THEN BEGIN DOS SET OS="%OS" DOS SET VER="%OS_VERSION" END REM NOW SET YOUR COMSPEC BASED ON THE ENVIRONMENT REM VARIABLES AND . MAP INS S2:=Servername/SYS:PUBLIC/%/%